//数据持久化 
const MovieStorage = localStorage.getItem('Vuex-movie')

export default {
  msg: MovieStorage ? JSON.parse(MovieStorage).msg : 'hello Vuex',
  movieList: MovieStorage ? JSON.parse(MovieStorage).movieList : []
}